{template "content","head"}
<!-- end-->
<div id="search_bg">
    <div id="search_b">
        <div class="search-text">
            你是不是在找：
            {pc:get sql="select rurl,title from sy_sousuo" number="8"}
            {loop $data $r}
            <a href="{$r[rurl]}">{$r[title]}、</a>
            {/loop}
            {/pc}
            .....
        </div>
        <form name="searchForm" method="get" action="index.php?m=search">
            <div style="float:left;margin-top: 10px">
                <input type="hidden" value="0" name="category"/><input type="hidden" name="m" value="search"/>
                <input type="hidden" name="c" value="index"/>
                <input type="hidden" name="a" value="init"/>
                <input type="hidden" name="typeid" value="" id="typeid"/>
                <input type="hidden" name="siteid" value="1" id="siteid"/>
                <input name="q" type="text" value="" style="background:#eaeaea;border:none;width:250px;height:30px;padding-left:10px;">
            </div>
            <div style="float:left;margin-top: 10px">
                <input class="layui-btn layui-btn-mini"
                       style="background:url(/statics/images/index/sou.jpg);width: 40px;height:30px;line-height: 50px;border:none;"
                       type="submit"
                       value="">
            </div>
        </form>
    </div>
</div>


<!-- 代理品牌 -->
<div id="pin">
    <div class="ntitle">
        <p>芯爱购<span>代理品牌</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div class="center">
        {pc:content action="lists" catid="27" num="10"}
        {loop $data $r}
        <img src="{$r[thumb]}" alt="">
        {/loop}
        {/pc}
    </div>
    <div class="chakan"><a href="{$CATEGORYS[27][url]}">查看更多供应商>></a></div>
</div>


<!-- 产品中心 -->
<div id="pro">
    <div class="ntitle">
        <p>芯爱购<span>产品中心</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div id="tablit">
        <dl>
            {php $c = 0}
            {pc:content action="category" catid="2"}
            {loop $data $r}
            <dd id="showtd{$c}" onMouseOver="javascript:div_show({$c});" class="{if $c == 0}on{else}out{/if}"><a
                    href="{$r[url]}">{$r[catname]}</a></dd>
            {php $c++}
            {/loop}
            {/pc}
        </dl>

        {php $c = 0}
        {pc:content action="category" catid="2"}
        {loop $data $r}
        <div class="tabcon  dis" id="showdiv{$c}">
            <table width=100% border=0 align=center cellpadding=0 cellspacing=0>
                {pc:content action="lists" catid="$r[catid]" num="10" return="dat"}
                {loop $dat $v}
                <td>
                    <a href="{$v[url]}"><img src="{$v[thumb]}">{$v[title]}</a>
                </td>
                {/loop}
                {/pc}

            </table>
        </div>
        {php $c++}
        {/loop}
        {/pc}

        <div class="chakan"><a href="{$CATEGORYS[2][url]}">查看更多产品>></a></div>
    </div>

    <script language="JavaScript" type="text/javascript">
        var $$ = function (id) {
            return document.getElementById(id);
        }

        function div_show(total) {
            for (i = 0; i <= 6; i++) {
                if (i == total) {
                    $$('showdiv' + i).style.display = "Block";
                    $$('showtd' + i).className = 'on';
                } else {
                    $$('showdiv' + i).style.display = "None";
                    $$('showtd' + i).className = 'out';
                }
            }
        }
    </script>
</div>

<!-- 应用领域 -->
<div id="application">
    <div class="ntitle">
        <p>芯爱购<span>应用领域</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div class="tt">
        <li><img src="/statics/images/index/application1.jpg">安防监控、记录仪类</li>
        <li><img src="/statics/images/index/application2.jpg">DVB、DVD、广场舞播放</li>
        <li><img src="/statics/images/index/application3.jpg">路由器、网络通讯类</li>
        <li><img src="/statics/images/index/application4.jpg">汽车导航、播放器类</li>
        <li><img src="/statics/images/index/application5.jpg">MP5、语音玩具、数码类</li>
    </div>
</div>
<div class="clear"></div>
<!-- 公司优势 -->
<div id="advantage">
    <div class="ntitle">
        <p>芯爱购<span>公司优势</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div class="content clearfix">
        <div class="introduce">
            <span class="number">01</span>
            <div class="detail">
                <h2>品牌优势 <span>Brand Advantage</span></h2>
                <p>自1996年05月成立20年来，先后在2003年获得UL,CSA,ISO
                    9001：2000体系认证。在2005年取得CCC产品认证和在2015年取得TS16949：2009,PSE等国际体系的认证。</p>
                <p>10000多平方米的生产基地，一流的自动化生产设备和测试设备。集研发、设计、制造、服务于一体，拥有研发专家团队30人。</p>
            </div>
        </div>
        <div class="photo">
            <img src="/statics/images/index/brand.png" alt="">
        </div>
    </div>
    <div class="content clearfix">
        <div class="photo">
            <img src="/statics/images/index/product.jpg" alt="">
        </div>
        <div class="introduce">
            <span class="number">02</span>
            <div class="detail">
                <h2>产品优势 <span>Product Advantage</span></h2>
                <p>採用优质的原材料，符合各国安规等级。</p>
                <p>20年的研发团队，匠心的精工制作。</p>
                <p>自动化的生產设备，人机合一的检测验证系统。</p>
                <p>领先同行的优质线缆產品，是助您企业腾飞的不二选择。</p>
            </div>
        </div>
    </div>
    <div class="content clearfix">
        <div class="introduce">
            <span class="number">03</span>
            <div class="detail">
                <h2>服务优势 <span>Service Advantage</span></h2>
                <p>五星的业务团队，给您称心如意的服务。</p>
                <p>资深的工程研发团队，为您提供技术支持、量身设计各类电缆。</p>
                <p>专业的採购人员，为您提供物有所值的原材料。</p>
                <p>匠心的生产团队，为您提供优质的线缆产品。</p>
                <p>吹毛求疵的品质人员，给您解决产品的后顾之忧。</p>
            </div>
        </div>
        <div class="photo">
            <img src="/statics/images/index/service.png" alt="">
        </div>
    </div>
    <div class="bg"></div>
</div>

<!-- 增值服务 -->
<div id="services">
    <div class="ntitle">
        <p>芯爱购<span>增值服务</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div class="zzfw">
        <li><img src="/statics/images/index/service1.png">代客烧录</li>
        <li><img src="/statics/images/index/service2.png">港台交货</li>
        <li><img src="/statics/images/index/service3.png">国内含税</li>
        <li><img src="/statics/images/index/service4.png">技术支持</li>
        <li><img src="/statics/images/index/service5.png">解决方案</li>
    </div>
</div>

<div class="clear"></div>

<!-- 合作客户 -->
<div id="cooperation">
    <div class="ntitle">
        <p>芯爱购<span>合作客户</span></p>
        近百家电子厂商授权代理，近万种电子元件现货供应
    </div>
    <div class="contact">
        <div class="top">
            <img src="/statics/images/index/ico1.png" alt="">
            <img src="/statics/images/index/ico2.png" alt="">
            <img src="/statics/images/index/ico3.png" alt="">
        </div>
        <div class="bottom">
            <img src="/statics/images/index/ico4.png" alt="">
            <img src="/statics/images/index/ico5.png" alt="">
            <img src="/statics/images/index/ico6.png" alt="">
            <img src="/statics/images/index/ico7.png" alt="">
        </div>

    </div>
</div>

<div id="news">
    <div id="xinwen" class="container">
        <div class="rr">
            <div class="ntitle">
                <p>芯爱购<span>新闻资讯</span></p>
                近百家电子厂商授权代理，近万种电子元件现货供应
            </div>
            <div id="xinxinx">
                <div class="lanren">
                    <div class="content cp">
                        <ul class="news_list">
                            {php $d=0}
                            {pc:content action="lists" catid="5" limit="7"}
                            {loop $data $r}
                            {php $d++}
                            {if $d == 1}
                            <li class="aaa">
                                <div class="left" style="margin-right:18px;">
                                    <img src="{$r[thumb]}" width="380" height="215">
                                    <div class="font">
                                        <a href="{$r[url]}"
                                           style="display:block;font-size:18px;line-height:25px;color:#333">
                                            {str_cut($r[title], 60)}</a>
                                        {str_cut($r[description], 120)}<a href="{$r[url]}" class="yueduxx">阅读详细</a>
                                    </div>
                                </div>
                            </li>
                            {else}
                            <li class="twbm">
                                <div class="left">
                                    <div class="kuai">{date('d', $r[updatetime])}</div>
                                    {date('Y-m', $r[updatetime])}
                                </div>
                                <div class="right">
                                    <p><a href="{$r[url]}">{str_cut($r[title], 40)}</a></p>
                                    {str_cut($r[description], 60)}
                                </div>
                            </li>
                            {/if}
                            {/loop}
                            {/pc}

                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>

{template "content","foot"}
